\usepackage{relsize,fancyvrb,moreverb,epsfig,framed}
\usepackage{color,anslistings}
%\usepackage{minted} % requires latex -shell-escape and pygments
% minted is used for the Minted_Python, Minted_Cpp, etc. environments
% include minted explicitly in the ptex2tex file:
%\usepackage{minted}
%\usemintedstyle{default}
% or
% #ifdef MINTED
%\usepackage{minted}
%\usemintedstyle{default}
% #endif

% Tiago Quintino's adjustment of the listings package:
\definecolor{darkgreen}{rgb}{0,0.45,0.08}
\definecolor{darkblue}{rgb}{0,0.08,0.45}
\definecolor{darkred}{rgb}{0.45,0,0.08}
\definecolor{sgray}{rgb}{0.97,0.97,0.97}
\definecolor{dgray}{rgb}{0.8,0.8,0.8}

